package com.sl.au.service;

import java.util.List;

import com.sl.au.entity.M2R;
import com.sl.au.entity.Module;
import com.sl.au.entity.Role;
import com.sl.au.repository.M2RRepository;

public interface M2RService extends BaseService {
    M2RRepository getRepository();
    //将模块授权给角色
    void M2R(List<String> moduleIds, String roleId);
    List<M2R> getModules(int start, int length, Role role,String orderName ,String dir);
    List<Module> getModulesNot(int start, int length, Role role,String orderName ,String dir);
}
